<%-- 
    Document   : detail
    Created on : 2013-5-9, 12:40:58
    Author     : piaohao
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%
    String path = request.getContextPath();
    String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() + path + "/";
%>
<!DOCTYPE html>
<html>
    <head>
        <base href="<%= basePath%>"/>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>JSP Page</title>
        <link rel="stylesheet" type="text/css" href="resource/js/flexpaper/flexpaper.css" />
        <script type="text/javascript" src="resource/js/flexpaper/jquery.min.js"></script>
        <script type="text/javascript" src="resource/js/flexpaper/jquery.extensions.min.js"></script>
        <script type="text/javascript" src="resource/js/flexpaper/flexpaper.js"></script>
        <script type="text/javascript" src="resource/js/flexpaper/flexpaper_handlers.js"></script>
    </head>
    <body>
        <div id="documentViewer" class="flexpaper_viewer" style=""></div>
        <script>
            $('#documentViewer').FlexPaperViewer(
                    {config: {
                            SWFFile: 'policy_swf/${swfPath}',
                            Scale: 0.6,
                            ZoomTransition: 'easeOut',
                            ZoomTime: 0.5,
                            ZoomInterval: 0.2,
                            FitPageOnLoad: true,
                            FitWidthOnLoad: true,
                            FullScreenAsMaxWindow: false,
                            ProgressiveLoading: false,
                            MinZoomSize: 0.2,
                            MaxZoomSize: 5,
                            SearchMatchAll: false,
                            InitViewMode: 'Portrait',
                            RenderingOrder: 'flash',
                            StartAtPage: '',
                            ViewModeToolsVisible: true,
                            ZoomToolsVisible: true,
                            NavToolsVisible: true,
                            CursorToolsVisible: true,
                            SearchToolsVisible: true,
                            WMode: 'window',
                            localeChain: 'en_US'
                        }}
            );
        </script>
    </body>
</html>
